#ifndef COPYMAKEBORDER_PLUGIN_H
#define COPYMAKEBORDER_PLUGIN_H

#include "copymakeborder_global.h"
#include "cvplugininterface.h"


namespace Ui
{
    class PluginGui;
};



class COPYMAKEBORDER_PLUGINSHARED_EXPORT CopyMakeBorder: public QObject, public CvPluginInterface
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID "com.computervision.cvplugininterface")
    Q_INTERFACES(CvPluginInterface)
public:
    CopyMakeBorder();
    ~CopyMakeBorder();

    QString title(void);
    QString version(void);
    QString description(void);
    QString help(void);
    void setupUi(QWidget *parent);
    void processImage(const cv::Mat & inputImage, cv::Mat & outputImage);

signals:
    void updateNeeded(void);
    void errorMessage(const QString & msg);
    void infoMessage(const QString & msg);

private slots:
    void on_borderTypeComboBox_currentIndexChanged(int index);

private:
    Ui::PluginGui *ui;

};

#endif // TEMPLATEPLUGIN_H
